package apiday02;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        // String replaceAll(String regex , String s) ; 替换
        //将当前字符串种满足正则表达式的不分替换成指定字符串
        String line = "abc123def456ghi78";
        line = line.replaceAll("[0-9]+","******");
        System.out.println(line);
    }
}
